package cn.wolfcode.crm.service;


import cn.wolfcode.crm.domain.Project;
import cn.wolfcode.crm.query.ProjectQueryObject;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IProjectService {

    void deleteByPrimaryKey(Long id);

    Project selectByPrimaryKey(Long id);

    List<Project> selectAll();

    void saveOrUpdate(Project entity);

    PageResult query(QueryObject qo);

    /**
     * 执行结果评分
     * @param entity Project对象
     */
    void changeReport(Project entity);
}
